import request from "../utils/request";
// 用户登陆的接口
export const login = (data) => request({ method: "post", url: '/login', data: data });
// 获取用户列表的接口
export const getUserList = (params) => request({ url: '/users', params });